import java.util.ArrayList;
import java.util.List;

public class Main {
    public static void main(String[] args) {
        dog Dog1 = new dog("tom",10,"red");
        Dog1.eat();
        ArrayList <Integer> list01 = new  ArrayList<Integer>();
        list01.addAll(List.of(1,2,3,4,5));

        for (Integer i : list01) {
            System.out.println(i);
        }
        System.out.println(list01);
        
        Dog1.Color();

        List list02 =  new ArrayList();
        list02.addAll(List.of(1,2,5));
        List list03 = new ArrayList();
        list03.addAll(List.of(2,3,6));
        list02.addAll(list03);
        System.out.println(list02);

    }
}